package com.qili.entity.jc;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author zhaoyongke   监理项目 里程碑表
 * @date 2020/11/2
 * @description
 */
@Table(name = "jc_project_milepost")
@Data
@ToString
@EqualsAndHashCode
@Component
public class JcProjectMilepost {

    @Id
    @Column(name = "id")
    private String id;

    /**
     * 监理项目表主键
     */
    @Column(name = "project_id")
    private String ProjectId;
    /**
     * 里程编号
     */
    @Column(name = "milepost_no")
    private String milepostNo;
    /**
     * 项目阶段表id
     */
    @Column(name = "supervisor_project_stage_id")
    private String supervisorProjectStageId;

    @Column(name = "create_date")
    private Date createDate;

    @Column(name = "create_by")
    private String createBy;

    @Column(name = "modify_date")
    private Date modifyDate;

    @Column(name = "modify_by")
    private String modifyBy;

    /**
     * 状态
     */
    @Column(name = "status")
    private String status;

    /**
     * 完成状态  0 未开始  1 进行中  2  已完成   3   已超时
     */
    @Column(name = "finish_status")
    private String finishStatus;

    /**
     * 子阶段进行到第几步
     */
    @Column(name = "step_num")
    private String stepNum;

    /*
    * percentage 百分比 可以是小数
    * */
    @Column(name = "percentage")
    private String percentage;
    /**
     * 里程基础表ID
     */
    @Column(name = "spm_basemilepost_id")
    private String spmBaseMilePostId;
    /*完成时间*/
    @Column(name = "finish_date")
    private String finishDate;




    private static final long serialVersionUID = 1L;

}
